#pragma once
class PEHeader
{
public:
	PEHeader(void);
	~PEHeader(void);
public:
	static DWORD _CheckSum1(PCTSTR szFileName, PDWORD pdwHeaderSum, PDWORD pdwCheckSum);
	static DWORD _CheckSum2(PCTSTR szFileName, PDWORD pdwHeaderSum, PDWORD pdwCheckSum);
private:
	static BOOL _OpenMapFile(PCTSTR szFileName);
private:
	static LPVOID _lpMemory;
	static HANDLE _hMapping;
	static DWORD dwTotalSize;
};

